package com.yqg.protection.controller.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yqg.protection.cover.SystemConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * ImportEquipmentUnitDto类
 *
 * @author zxf
 * @since 2024-09-11
 */
@Data
public class ImportEquipmentUnitDto {

    @ExcelProperty(value = "部件名称(必填)", index = 0)
    @ApiModelProperty("部件名称")
    private String partName;

    @ExcelProperty(value = "部件类型ID(必填)", index = 1)
    @ApiModelProperty("部件类型")
    private Long partTypeId;

    @ExcelProperty(value = "设施连接设备ID(必填)", index = 2)
    @ApiModelProperty("设施连接设备")
    private Long equipmentInputStoreId;

    @ExcelProperty(value = "单位ID(必填)", index = 3)
    private Long clientId;

    @ExcelProperty(value = "状态编号(必填)", index = 4)
    @ApiModelProperty("状态")
    private String warnStateNum;

    @ExcelProperty(value = "部件型号(必填)", index = 5)
    @ApiModelProperty("部件型号")
    private String partModel;

    @ExcelProperty(value = "安装位置", index = 6)
    @ApiModelProperty("安装位置")
    private String installSite;

    @ExcelProperty(value = "部件区号", index = 7)
    @ApiModelProperty("部件区号")
    private String partAreaCode;

    @ExcelProperty(value = "部件回路号", index = 8)
    @ApiModelProperty("部件回路号")
    private String partLoopCode;

    @ExcelProperty(value = "部件位号", index = 9)
    @ApiModelProperty("部件位号")
    private String partBitCode;

    @ExcelProperty(value = "设施类型(自动灭火系统/消火栓系统/安全疏散系统/防烟排烟系统/其他设备)(必填)", index = 10, converter = SystemConverter.class)
    private Integer systemId;
}
